package cn01;

//1.导包
import java.util.Scanner;

public class API {
    public static void main(String[] args) {
        //2.创建对象
        Scanner sc  =new Scanner(System.in);
        System.out.println("请输入数据");
        //3.调用方法
        String line = sc.nextLine();
        System.out.println("输入的数据为："+line);
    }
}
